<?exit?>

<!--{if is_array($_G['brandads']['sidebarconsumearr'])}-->
<div class="bm" id="rdconsume">
	<div class="bm_h">
		<h3>{$lang['hotcoupon']}</h3>
	</div>
	<div class="bm_c">
		<ul class="tlist tlbp cl">
		<!--{eval $count = 1; }-->
		<!--{loop $_G['brandads']['sidebarconsumearr'] $tmpid}-->
		<!--{eval $tmparr = $_BCACHE->getiteminfo('consume', $tmpid['itemid'], $tmpid['shopid'], array('thumbwidth'=>'210', 'thumbheight'=>'130')); $count ++;}-->
		<!--{if !empty($tmparr['itemid'])}-->
		<li class="cl{if $count == 2} a{/if}">
			<div class="thumb">
				<a target="_blank" href="store.php?id={$tmparr['shopid']}&action=consume&xid={$tmparr['itemid']}" title="{$tmparr['subject']}">
					<img src="$tmparr['thumb-210x130']" alt="{$tmparr['subject']}"/>
				</a>
			</div>
			<p><a href="store.php?id={$tmparr['shopid']}&action=consume&xid={$tmparr['itemid']}" target="_blank">{eval echo cutstr($tmparr['subject'],24);}</a></p>
			<p class="xg1">{$lang['deadline']}{$lang['colon']} #date('Y-m-d', $tmparr['validity_start'])# $lang['to'] #date('Y-m-d', $tmparr['validity_end'])#</p>
		</li>
		<!--{/if}-->
		<!--{/loop}-->
		</ul>
	</div>
</div>
<script>
$("#rdconsume").find("li").mouseover(function(){$("#rdconsume").find("li").removeClass("a"); $(this).addClass("a");});
</script>
<!--{/if}-->
<!--{eval unset($tmparr, $tmpads, $tmpid);}-->
